package com.zhny.aiot.water.monitor.plugin;

import com.zhny.aiot.plugin.ICenterFacilities;
import com.zhny.aiot.plugin.IDeviceFactory;
import com.zhny.aiot.plugin.core.utils.MessageUtils;
import com.zhny.aiot.plugin.model.DeviceEntity;
import com.zhny.aiot.plugin.model.MessageEntry;
import com.zhny.aiot.plugin.model.MessageType;
import com.zhny.aiot.plugin.model.TaskEntity;
import com.zhny.aiot.plugin.udc.UdcEngine;
import com.zhny.aiot.plugin.udc.command.IUdcPrivateRequestMessage;
import com.zhny.aiot.plugin.udc.device.UdcDevice;
import com.zhny.aiot.water.monitor.plugin.config.WaterMonitorConfig;
import io.netty.buffer.ByteBuf;

public class WaterMonitorDevice extends UdcDevice<WaterMonitorConfig> {
    public WaterMonitorDevice(UdcEngine engine, IDeviceFactory<WaterMonitorConfig> factory, ICenterFacilities centerFacilities, DeviceEntity entity) {
        super(engine, factory, centerFacilities, entity);
    }

    @Override
    protected IUdcPrivateRequestMessage createRequestMessage(TaskEntity taskEntity) {
        return null;
    }

    @Override
    protected void onData(ByteBuf byteBuf) {

    }

    @Override
    public boolean onCheck(ByteBuf byteBuf) {
        return true;
    }

    @Override
    protected void disposable() {

    }
}
